package org.bizming.web;

import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.AbstractInterceptor;

public class BizInterceptor extends AbstractInterceptor {

	private static final long serialVersionUID = -7263051261079271346L;

	public String intercept(ActionInvocation invocation) throws Exception {

		// Object action = invocation.getAction();
		// if (action instanceof LoginInterface) {
		// if (null == WebUtil.getSession().get(RecordConstants.RECORD_SESSION))
		// {
		// WebUtil.getResponse().sendRedirect("/login");
		// }
		// }

		return invocation.invoke();
	}

}
